home *** CD-ROM | disk | FTP | other *** search
/ Saitek New Smart Technology Disc / Saitek New Smart Technology Disc (SD2.6).bin / Win9X / Software / data1.cab / Com_DLLs / SaiPP8t.dll / 0 / X / JOYOUTER.X < prev    next >
Text File  |  2002-06-27  |  9KB  |  434 lines

  1. xof 0302txt 0064
  2. //
  3. // DirectX file: E:\saitek joysticks\New joypad\New Direct X models 5-8-99\joyouter.x
  4. //
  5. // Converted by the PolyTrans geometry converter from Okino Computer Graphics, Inc.
  6. // Date/time of export: 08/05/1999 09:27:25
  7. //
  8. // Bounding box of geometry = (-0.038375,-0.0170485,-0.010375) to (-0.009625,0.00256,0.019525).
  9.  
  10.  
  11. template Header {
  12.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  13.  WORD major;
  14.  WORD minor;
  15.  DWORD flags;
  16. }
  17.  
  18. template Vector {
  19.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  20.  FLOAT x;
  21.  FLOAT y;
  22.  FLOAT z;
  23. }
  24.  
  25. template Coords2d {
  26.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  27.  FLOAT u;
  28.  FLOAT v;
  29. }
  30.  
  31. template Matrix4x4 {
  32.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  33.  array FLOAT matrix[16];
  34. }
  35.  
  36. template ColorRGBA {
  37.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  38.  FLOAT red;
  39.  FLOAT green;
  40.  FLOAT blue;
  41.  FLOAT alpha;
  42. }
  43.  
  44. template ColorRGB {
  45.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  46.  FLOAT red;
  47.  FLOAT green;
  48.  FLOAT blue;
  49. }
  50.  
  51. template IndexedColor {
  52.  <1630B820-7842-11cf-8F52-0040333594A3>
  53.  DWORD index;
  54.  ColorRGBA indexColor;
  55. }
  56.  
  57. template Boolean {
  58.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  59.  WORD truefalse;
  60. }
  61.  
  62. template Boolean2d {
  63.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  64.  Boolean u;
  65.  Boolean v;
  66. }
  67.  
  68. template MaterialWrap {
  69.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  70.  Boolean u;
  71.  Boolean v;
  72. }
  73.  
  74. template TextureFilename {
  75.  <A42790E1-7810-11cf-8F52-0040333594A3>
  76.  STRING filename;
  77. }
  78.  
  79. template Material {
  80.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  81.  ColorRGBA faceColor;
  82.  FLOAT power;
  83.  ColorRGB specularColor;
  84.  ColorRGB emissiveColor;
  85.  [...]
  86. }
  87.  
  88. template MeshFace {
  89.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  90.  DWORD nFaceVertexIndices;
  91.  array DWORD faceVertexIndices[nFaceVertexIndices];
  92. }
  93.  
  94. template MeshFaceWraps {
  95.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  96.  DWORD nFaceWrapValues;
  97.  Boolean2d faceWrapValues;
  98. }
  99.  
  100. template MeshTextureCoords {
  101.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  102.  DWORD nTextureCoords;
  103.  array Coords2d textureCoords[nTextureCoords];
  104. }
  105.  
  106. template MeshMaterialList {
  107.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  108.  DWORD nMaterials;
  109.  DWORD nFaceIndexes;
  110.  array DWORD faceIndexes[nFaceIndexes];
  111.  [Material]
  112. }
  113.  
  114. template MeshNormals {
  115.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  116.  DWORD nNormals;
  117.  array Vector normals[nNormals];
  118.  DWORD nFaceNormals;
  119.  array MeshFace faceNormals[nFaceNormals];
  120. }
  121.  
  122. template MeshVertexColors {
  123.  <1630B821-7842-11cf-8F52-0040333594A3>
  124.  DWORD nVertexColors;
  125.  array IndexedColor vertexColors[nVertexColors];
  126. }
  127.  
  128. template Mesh {
  129.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  130.  DWORD nVertices;
  131.  array Vector vertices[nVertices];
  132.  DWORD nFaces;
  133.  array MeshFace faces[nFaces];
  134.  [...]
  135. }
  136.  
  137. template FrameTransformMatrix {
  138.  <F6F23F41-7686-11cf-8F52-0040333594A3>
  139.  Matrix4x4 frameMatrix;
  140. }
  141.  
  142. template Frame {
  143.  <3D82AB46-62DA-11cf-AB39-0020AF71E433>
  144.  [...]
  145. }
  146.  
  147. Header {
  148.     1; // Major version
  149.     0; // Minor version
  150.     1; // Flags
  151. }
  152.  
  153. Material xof_default_8 {
  154.     0.400000;0.400000;0.400000;1.000000;;
  155.     32.000000;
  156.     0.700000;0.700000;0.700000;;
  157.     0.000000;0.000000;0.000000;;
  158. }
  159.  
  160. Material base {
  161.     0.247059;0.247059;0.247059;1.000000;;
  162.     25.000000;
  163.     0.000000;0.000000;0.000000;;
  164.     0.000000;0.000000;0.000000;;
  165. }
  166.  
  167. Material jstkbs {
  168.     1.000000;1.000000;1.000000;1.000000;;
  169.     25.000000;
  170.     0.000000;0.000000;0.000000;;
  171.     0.000000;0.000000;0.000000;;
  172.     TextureFilename {
  173.         "joyrim.bmp";
  174.     }
  175. }
  176.  
  177. // Original object name = "base"
  178. Mesh base {
  179.     20;        // 20 vertices
  180.     -0.012012;-0.017048;-0.004503;,
  181.     -0.014301;-0.017048;0.002738;,
  182.     -0.020292;-0.017048;0.007214;,
  183.     -0.027699;-0.017048;0.007214;,
  184.     -0.033691;-0.017048;0.002738;,
  185.     -0.035979;-0.017048;-0.004503;,
  186.     -0.033691;-0.017048;-0.011744;,
  187.     -0.027699;-0.017048;-0.016219;,
  188.     -0.020292;-0.017048;-0.016219;,
  189.     -0.014301;-0.017048;-0.011744;,
  190.     -0.012012;0.000158;-0.004503;,
  191.     -0.014301;0.000158;0.002738;,
  192.     -0.020292;0.000158;0.007214;,
  193.     -0.027699;0.000158;0.007214;,
  194.     -0.033691;0.000158;0.002738;,
  195.     -0.035979;0.000158;-0.004503;,
  196.     -0.033691;0.000158;-0.011744;,
  197.     -0.027699;0.000158;-0.016219;,
  198.     -0.020292;0.000158;-0.016219;,
  199.     -0.014301;0.000158;-0.011744;;
  200.  
  201.     20;        // 20 faces
  202.     3;11,10,0;,
  203.     3;0,1,11;,
  204.     3;12,11,1;,
  205.     3;1,2,12;,
  206.     3;14,13,3;,
  207.     3;3,4,14;,
  208.     3;15,14,4;,
  209.     3;4,5,15;,
  210.     3;16,15,5;,
  211.     3;5,6,16;,
  212.     3;17,16,6;,
  213.     3;6,7,17;,
  214.     3;18,17,7;,
  215.     3;7,8,18;,
  216.     3;19,18,8;,
  217.     3;8,9,19;,
  218.     3;10,19,9;,
  219.     3;9,0,10;,
  220.     3;13,12,2;,
  221.     3;2,3,13;;
  222.  
  223.     MeshMaterialList {
  224.         1;1;0;;
  225.         {base}
  226.     }
  227.  
  228.     MeshNormals {
  229.         20; // 20 normals
  230.         -0.994496;0.000000;0.104776;,
  231.         -0.994496;0.000000;-0.104776;,
  232.         -0.872372;0.000000;0.488843;,
  233.         -0.872372;0.000000;-0.488843;,
  234.         -0.748728;0.000000;0.662878;,
  235.         -0.748728;0.000000;-0.662878;,
  236.         -0.417823;0.000000;0.908528;,
  237.         -0.417823;0.000000;-0.908528;,
  238.         -0.208911;0.000000;0.977935;,
  239.         -0.208911;0.000000;-0.977935;,
  240.         0.208911;0.000000;0.977935;,
  241.         0.208911;0.000000;-0.977935;,
  242.         0.417823;0.000000;0.908529;,
  243.         0.417823;0.000000;-0.908529;,
  244.         0.748728;0.000000;0.662877;,
  245.         0.748728;0.000000;-0.662877;,
  246.         0.872372;0.000000;0.488842;,
  247.         0.872372;0.000000;-0.488842;,
  248.         0.994496;0.000000;0.104776;,
  249.         0.994496;0.000000;-0.104776;;
  250.  
  251.         20;        // 20 faces
  252.         3;3,0,1;,
  253.         3;1,5,3;,
  254.         3;7,3,5;,
  255.         3;5,9,7;,
  256.         3;15,11,13;,
  257.         3;13,17,15;,
  258.         3;19,15,17;,
  259.         3;17,18,19;,
  260.         3;16,19,18;,
  261.         3;18,14,16;,
  262.         3;12,16,14;,
  263.         3;14,10,12;,
  264.         3;8,12,10;,
  265.         3;10,6,8;,
  266.         3;4,8,6;,
  267.         3;6,2,4;,
  268.         3;0,4,2;,
  269.         3;2,1,0;,
  270.         3;11,7,9;,
  271.         3;9,13,11;;
  272.     }  // End of Normals
  273. } // End of Mesh
  274.  
  275. // Original object name = "jstkbs"
  276. Mesh jstkbs {
  277.     48;        // 48 vertices
  278.     -0.010115;0.000000;-0.008444;,
  279.     -0.009625;0.000000;-0.004575;,
  280.     -0.010115;0.000000;-0.000706;,
  281.     -0.011551;0.000000;0.002900;,
  282.     -0.013835;0.000000;0.005996;,
  283.     -0.016812;0.000000;0.008372;,
  284.     -0.020279;0.000000;0.009866;,
  285.     -0.024000;0.000000;0.010375;,
  286.     -0.027721;0.000000;0.009866;,
  287.     -0.031188;0.000000;0.008372;,
  288.     -0.034165;0.000000;0.005996;,
  289.     -0.036449;0.000000;0.002900;,
  290.     -0.037885;0.000000;-0.000706;,
  291.     -0.038375;0.000000;-0.004575;,
  292.     -0.037885;0.000000;-0.008444;,
  293.     -0.036449;0.000000;-0.012050;,
  294.     -0.034165;0.000000;-0.015146;,
  295.     -0.031188;0.000000;-0.017522;,
  296.     -0.027721;0.000000;-0.019016;,
  297.     -0.024000;0.000000;-0.019525;,
  298.     -0.020279;0.000000;-0.019016;,
  299.     -0.016812;0.000000;-0.017522;,
  300.     -0.013835;0.000000;-0.015146;,
  301.     -0.011551;0.000000;-0.012050;,
  302.     -0.021172;0.002560;0.006538;,
  303.     -0.024000;0.002560;0.006925;,
  304.     -0.026828;0.002560;0.006538;,
  305.     -0.018537;0.002560;0.005403;,
  306.     -0.029463;0.002560;0.005403;,
  307.     -0.031725;0.002560;0.003597;,
  308.     -0.016275;0.002560;0.003597;,
  309.     -0.033461;0.002560;0.001244;,
  310.     -0.014539;0.002560;0.001244;,
  311.     -0.013447;0.002560;-0.001496;,
  312.     -0.034553;0.002560;-0.001496;,
  313.     -0.013075;0.002560;-0.004437;,
  314.     -0.034925;0.002560;-0.004437;,
  315.     -0.013447;0.002560;-0.007378;,
  316.     -0.034553;0.002560;-0.007378;,
  317.     -0.014539;0.002560;-0.010118;,
  318.     -0.033461;0.002560;-0.010118;,
  319.     -0.031725;0.002560;-0.012471;,
  320.     -0.016275;0.002560;-0.012471;,
  321.     -0.018537;0.002560;-0.014277;,
  322.     -0.029463;0.002560;-0.014277;,
  323.     -0.026828;0.002560;-0.015412;,
  324.     -0.024000;0.002560;-0.015799;,
  325.     -0.021172;0.002560;-0.015412;;
  326.  
  327.     48;        // 48 faces
  328.     3;46,47,20;,
  329.     3;20,19,46;,
  330.     3;46,19,18;,
  331.     3;46,18,45;,
  332.     3;45,18,17;,
  333.     3;45,17,44;,
  334.     3;47,43,21;,
  335.     3;21,20,47;,
  336.     3;43,42,22;,
  337.     3;22,21,43;,
  338.     3;44,17,16;,
  339.     3;44,16,41;,
  340.     3;41,16,15;,
  341.     3;41,15,40;,
  342.     3;42,39,23;,
  343.     3;23,22,42;,
  344.     3;40,15,14;,
  345.     3;40,14,38;,
  346.     3;39,37,0;,
  347.     3;0,23,39;,
  348.     3;38,14,13;,
  349.     3;38,13,36;,
  350.     3;37,35,1;,
  351.     3;1,0,37;,
  352.     3;36,13,12;,
  353.     3;36,12,34;,
  354.     3;35,33,2;,
  355.     3;2,1,35;,
  356.     3;33,32,3;,
  357.     3;3,2,33;,
  358.     3;34,12,11;,
  359.     3;34,11,31;,
  360.     3;30,4,3;,
  361.     3;30,3,32;,
  362.     3;29,31,11;,
  363.     3;11,10,29;,
  364.     3;28,29,10;,
  365.     3;10,9,28;,
  366.     3;27,5,4;,
  367.     3;27,4,30;,
  368.     3;26,28,9;,
  369.     3;9,8,26;,
  370.     3;25,26,8;,
  371.     3;8,7,25;,
  372.     3;25,7,6;,
  373.     3;25,6,24;,
  374.     3;24,6,5;,
  375.     3;24,5,27;;
  376.  
  377.     MeshMaterialList {
  378.         1;1;0;;
  379.         {jstkbs}
  380.     }
  381.  
  382.     MeshTextureCoords {
  383.         48; // 48 texture coords
  384.         0.982963;0.370591;,
  385.         1.000000;0.500000;,
  386.         0.982963;0.629410;,
  387.         0.933013;0.750000;,
  388.         0.853553;0.853553;,
  389.         0.750000;0.933013;,
  390.         0.629410;0.982963;,
  391.         0.500000;1.000000;,
  392.         0.370590;0.982963;,
  393.         0.250000;0.933013;,
  394.         0.146446;0.853553;,
  395.         0.066987;0.750000;,
  396.         0.017037;0.629410;,
  397.         0.000000;0.500000;,
  398.         0.017037;0.370591;,
  399.         0.066987;0.250000;,
  400.         0.146446;0.146447;,
  401.         0.250000;0.066987;,
  402.         0.370590;0.017037;,
  403.         0.500000;0.000000;,
  404.         0.629410;0.017037;,
  405.         0.750000;0.066987;,
  406.         0.853553;0.146447;,
  407.         0.933013;0.250000;,
  408.         0.598351;0.871667;,
  409.         0.500000;0.884615;,
  410.         0.401649;0.871667;,
  411.         0.690000;0.833705;,
  412.         0.310000;0.833705;,
  413.         0.231299;0.773316;,
  414.         0.768701;0.773316;,
  415.         0.170910;0.694615;,
  416.         0.829090;0.694615;,
  417.         0.867052;0.602967;,
  418.         0.132948;0.602967;,
  419.         0.880000;0.504615;,
  420.         0.120000;0.504615;,
  421.         0.867052;0.406264;,
  422.         0.132948;0.406264;,
  423.         0.829090;0.314615;,
  424.         0.170910;0.314615;,
  425.         0.231299;0.235915;,
  426.         0.768701;0.235915;,
  427.         0.690000;0.175526;,
  428.         0.310000;0.175526;,
  429.         0.401649;0.137564;,
  430.         0.500000;0.124615;,
  431.         0.598351;0.137564;;
  432.     }  // End of texture coords
  433. } // End of Mesh
  434.